home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
3_0
/
OIC_1
/
PROFORMA.C
< prev
next >
Wrap
Text File
|
1989-02-19
|
798b
|
51 lines
/*
* Proforma abstract class
*
* ????? ???? ?????.
*
* Copyright ⌐ John Wainwright 1988
*
* SuperClasses :
*
* Instance Vars :
*
* Class Vars :
*
* Methods :
*
* Class Methods :
*
*/
#include "oic.h"
#include "generics.h"
class Proforma; /* the Proforma class */
struct Proforma_i /* Proforma instance structure */
{
char *x;
};
typedef struct Proforma_i Proforma_i;
/* -------------------- Proforma Instance methods ------------------- */
static object
_new(self, p, pa)
object self;
register Proforma_i *p;
register struct {} *pa;
{
}
/* ------------------- Init the Proforma class ---------------------- */
InitProforma()
{
Proforma = NewClass(sizeof(Proforma_i), 0, "Proforma", END);
AddMethods(Proforma,
newGeneric, _new,
END);
}